#ifndef _CAD_SLICER_OBJECT_TRANSFORM_H_
#define _CAD_SLICER_OBJECT_TRANSFORM_H_

#include <cad-slicer/fwd.h>

#include <array>


namespace cadslicer
{

/// @brief Apply a 4x4 matrix representing a transform to an object.
void apply_transform(Assimp::Importer& object, const float* transform);
void apply_transform(Assimp::Importer& object, std::array<float, 16> const& transform);

void repair_vertice(Assimp::Importer& object, float merging_coeff);

} // cadslicer

#endif // _CAD_SLICER_OBJECT_TRANSFORM_H_
